package com.amway.qy.exchanage.resp;

import com.amway.qy.resource.result.BaseResult;

/**
 * 
 * 对于 openid 与 userid 转换的结果，统一归口到一个点上。
 *
 */
public class RespExchangeIdResult extends BaseResult{

	//企业号成员userid对应的openid，若有传参agentid，则是针对该agentid的openid。否则是针对企业号corpid的openid
	protected String openid;
	
	//应用的appid，若请求包中不包含agentid则不返回appid。该appid在使用微信红包时会用到
	protected String appid;
	
	//该openid在企业号中对应的成员userid
	protected String userid;

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	@Override
	public String toString() {
		return "RespExchangeIdResult [openid=" + openid + ", appid=" + appid + ", userid=" + userid + ", errcode="
				+ errcode + ", errmsg=" + errmsg + "]";
	}
	
	
}
